package com.bdqn.mapper;

import com.bdqn.entity.UmsUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author hunter
 * @since 2022-04-30
 */
public interface UmsUserMapper extends BaseMapper<UmsUser> {
   //通过用户名和密码进行查询指定用户完成登录
    UmsUser loginUser(@Param("userName") String userName, @Param("password") String password);
}
